PHPMailer\PHPMailer\PHPMailer D

Total Complexity 621
Dependencies 8
Dependents 1
Total lines 5,040
Lines of code 2,567
Logical lines of code 1,408
Comment lines 1,860
Methods 114
Properties 77

Methods 114

Method Rating Maintainability Complexity Lines of code
createBody()
D
21
31 254
smtpConnect()
D
31 32 104
preSend()
D
31 31 100
createHeader()
B
36 23 74
DKIM_Add()
B
30 20 117
wrapText()
B
37 21 78
msgHTML()
B
36 21 78
setLanguage()
B
33 16 98
sendmailSend()
B
37 16 77
attachAll()
B
37 15 82
parseAddresses()
B
40 16 60
encodeHeader()
B
39 15 62
smtpSend()
A
40 13 59
mb_pathinfo()
A
48 14 34
mailSend()
A
43 12 47
getMailMIME()
A
47 11 36
validateAddress()
A
47 10 36
postSend()
A
50 10 29
isValidHost()
A
53 10 20
punyencodeAddress()
A
49 9 30
addAnAddress()
A
47 8 40
edebug()
A
47 8 38
addOrEnqueueAnAddress()
A
48 8 33
encodeString()
A
49 8 32
_mime_types()
A
32 2 121
setFrom()
A
50 8 28
DKIM_Sign()
A
51 8 26
addAttachment()
A
47 7 35
addEmbeddedImage()
A
47 7 35
isShellSafe()
A
54 8 19
serverHostname()
A
57 8 16
encodeQ()
S
50 7 27
utf8CharBoundary()
S
51 7 26
setError()
S
55 7 19
addCustomHeader()
S
57 7 15
addStringEmbeddedImage()
S
50 6 28
DKIM_QP()
S
58 7 13
setWordWrap()
S
58 6 16
addStringAttachment()
S
50 5 28
mailPassthru()
S
53 5 21
encodeFile()
S
55 5 20
getBoundary()
S
55 5 20
generateId()
S
57 5 16
setMessageType()
S
59 5 16
base64EncodeWrapMB()
S
51 4 24
send()
S
60 4 15
lang()
S
62 4 12
DKIM_HeaderC()
S
57 3 15
cidExists()
S
66 4 8
fileIsAccessible()
S
63 4 10
getSmtpErrorMessage()
S
63 3 11
inlineImageExists()
S
67 3 8
attachmentExists()
S
67 3 8
doCallback()
S
70 3 5
__construct()
S
69 3 6
smtpClose()
S
71 3 6
normalizeBreaks()
S
63 3 10
DKIM_BodyC()
S
68 2 7
quotedString()
S
70 2 6
clearAddresses()
S
68 2 7
clearCCs()
S
68 2 7
set()
S
66 2 8
filenameToType()
S
66 2 8
html2text()
S
64 2 10
clearBCCs()
S
68 2 7
hasMultiBytes()
S
70 2 6
idnSupported()
S
78 2 3
addrFormat()
S
67 2 7
isHTML()
S
70 2 7
isSendmail()
S
65 2 9
isQmail()
S
65 2 9
getSMTPInstance()
S
71 2 6
getTranslations()
S
72 2 6
addrAppend()
S
67 2 7
validateEncoding()
S
64 1 13
clearAllRecipients()
S
70 1 7
hasLineLongerThanMax()
S
77 1 3
setLE()
S
80 1 3
sign()
S
71 1 6
addCC()
S
79 1 3
addAddress()
S
79 1 3
clearQueuedAddresses()
S
68 1 8
alternativeExists()
S
80 1 3
isMail()
S
81 1 3
isSMTP()
S
81 1 3
stripTrailingWSP()
S
79 1 3
getToAddresses()
S
82 1 3
getCcAddresses()
S
82 1 3
getBccAddresses()
S
82 1 3
getReplyToAddresses()
S
82 1 3
getAllRecipientAddresses()
S
82 1 3
has8bitChars()
S
79 1 3
getOAuth()
S
82 1 3
getLE()
S
81 1 3
addBCC()
S
79 1 3
clearAttachments()
S
81 1 3
isError()
S
81 1 3
clearCustomHeaders()
S
81 1 3
headerLine()
S
79 1 3
rfcDate()
S
75 1 4
endBoundary()
S
78 1 3
getSentMIMEMessage()
S
75 1 4
clearReplyTos()
S
77 1 4
textLine()
S
80 1 3
getAttachments()
S
82 1 3
secureHeader()
S
77 1 3
getCustomHeaders()
S
82 1 3
setSMTPInstance()
S
77 1 4
__destruct()
S
82 1 3
isPermittedPath()
S
78 1 3
encodeQP()
S
79 1 3
getLastMessageID()
S
82 1 3
addReplyTo()
S
79 1 3
setOAuth()
S
81 1 3